package com.it.myd.bean.box.world.Items.PickaxItem;

import com.it.myd.bean.box.world.Ability;
import com.it.myd.bean.box.world.Items.Pickax;
import com.it.myd.bean.box.world.Material;
import com.it.myd.bean.main.User;
import com.it.myd.help.MaterialLoader;

import java.util.ArrayList;
import java.util.List;

public class WoodPickax extends Pickax {
    public WoodPickax() {
        this.setId("3");
        this.setName("木制镐子");
        this.setMaxHp(300);
        this.setHp(300);
        this.setNeedTime(5);
        this.setTime(0);
        this.setLevel(1);
        Ability ability = new Ability();
        ability.setStrength(1);
        this.setAbility(ability);
        User user = new User();
        user.setUser_id(10000);
        MaterialLoader materialLoader = new MaterialLoader();
        List<Material> needMaters = new ArrayList<>();
        Material wood = materialLoader.getWoods(60,user);
        needMaters.add(wood);
        this.setNeedMaters(needMaters);
    }

}
